package com.tjsinfo.tjsoa.system.dao;

import java.util.List;

import com.tjsinfo.tjsoa.system.vo.TSystemUserPost;
/**
 * 系统用户岗位DAO
 * @author Administrator
 *
 */
public interface ITSystemUserPostDAO {
	/**
	 * 添加
	 * @param transientInstance
	 */
	public abstract void save(TSystemUserPost transientInstance);
	/**
	 * 删除
	 * @param transientInstance
	 */
	public abstract void delete(TSystemUserPost persistentInstance);
	/**
	 * 根据ID查找
	 * @param transientInstance
	 */
	public abstract TSystemUserPost findById(java.lang.Integer id);
	/**
	 * 根据实例查找
	 * @param transientInstance
	 */
	public abstract List findByExample(TSystemUserPost instance);
	/**
	 * 根据属性查找
	 * @param transientInstance
	 */
	public abstract List findByProperty(String propertyName, Object value);
	/**
	 * 查找所有
	 * @param transientInstance
	 */
	public abstract List findAll();
	/**
	 * 更新
	 * @param transientInstance
	 */
	public abstract TSystemUserPost merge(TSystemUserPost detachedInstance);

	public abstract void attachDirty(TSystemUserPost instance);

	public abstract void attachClean(TSystemUserPost instance);

}